package com.fas.core.plugin.tree.fueluxtree;

import com.fasterxml.jackson.annotation.JsonProperty;
/**
 * FUELUXTREE树形插件，node节点对应对象
 * 
 *
 * @Copyright: Copyright (c) 2016 FAS 
 * @anthor yixiaoping<thinker1013@163.com>
 * @since 2016年1月24日 下午10:12:03
 * @version V1.0
 */
public class Item {
	/**
	 * 节点的名字
	 */
	private String text;

	/**
	 * 节点的类型："item":文件 "folder":目录
	 */
	private String type;
	
	/**
	 * 节点图标样式
	 */
	@JsonProperty("icon-class")
	private String iconClass;

	/**
	 * 子节点的信息
	 */
	private AdditionalParameters additionalParameters;

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getIconClass() {
		return iconClass;
	}

	public void setIconClass(String iconClass) {
		this.iconClass = iconClass;
	}

	public AdditionalParameters getAdditionalParameters() {
		return additionalParameters;
	}

	public void setAdditionalParameters(
			AdditionalParameters additionalParameters) {
		this.additionalParameters = additionalParameters;
	}
}
